home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
games
/
ippon
/
source.lzh
/
makefile
< prev
next >
Wrap
Makefile
|
2000-07-07
|
4KB
|
72 lines
# makefile for ippon.x
CC = gcc
#CFLAGS = -DDEBUG
CFLAGS = -O -fomit-frame-pointer -fstrength-reduce -fforce-mem -fforce-addr -fcombine-regs
AS = has
LD = hlk
INC =
LIBS = libc.a libgnu.a libdos.a libiocs.a xsp2lib.o pcm8afnc.o
LZH = ippon100
vpath %.c ./;FuncEnemy/;FuncEffect/;
# .c ファイルはカレント又はここで指定したディレクトリに
%.o: %.c
$(CC) $(CFLAGS) -c $<
all: ippon.x maketbl.x
ippon.x: main.o player.o shot.o enemy.o eshot.o effect.o \
entry.o psearch.o gvram.o txfont.o sound.o zmcall.o \
zakoa.o zakob.o covern.o oplaser.o round4.o coverf.o sword.o \
searchz.o searchz2.o zako031.o lboss01.o lboss01c.o \
explzako.o expl.o explplayer.o points.o
$(LD) $^ -o $@ -l $(LIBS)
main.o: main.c main.h player.h shot.h enemy.h eshot.h effect.h entry.h psearch.h gvram.h txfont.h sound.h
player.o: player.c main.h player.h shot.h effect.h sound.h
shot.o: shot.c main.h player.h enemy.h shot.h sound.h
enemy.o: enemy.c main.h player.h enemy.h shot.h
eshot.o: eshot.c main.h player.h eshot.h
effect.o: effect.c main.h effect.h
entry.o: entry.c enemy.h entry.h sound.h
psearch.o: psearch.c player.h psearch.h
gvram.o: gvram.s
txfont.o: txfont.c txfont.h
sound.o: sound.c main.h zmcall.h
zmcall.o: zmcall.s
zakoa.o: FuncEnemy/zakoa.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
zakob.o: FuncEnemy/zakob.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
covern.o: FuncEnemy/covern.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
oplaser.o: FuncEnemy/oplaser.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
round4.o: FuncEnemy/round4.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
coverf.o: FuncEnemy/coverf.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
sword.o: FuncEnemy/sword.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
searchz.o: FuncEnemy/searchz.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
searchz2.o: FuncEnemy/searchz2.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
zako031.o: FuncEnemy/zako031.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
lboss01.o: FuncEnemy/lboss01.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
lboss01c.o: FuncEnemy/lboss01c.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
explzako.o: FuncEffect/explzako.c FuncEffect/../main.h FuncEffect/../effect.h
expl.o: FuncEffect/expl.c FuncEffect/../main.h FuncEffect/../effect.h
explplayer.o: FuncEffect/explplayer.c FuncEffect/../main.h FuncEffect/../effect.h
points.o: FuncEffect/points.c FuncEffect/../main.h FuncEffect/../effect.h
maketbl.x: maketbl.o
$(LD) $^ -o $@ -l $(LIBS)
exec:
rm -r FuncEnemy/
rm -r FuncEffect/
rm -r SP/*.obj
rm -r DAT/*.s DAT/*.o DAT/*.bat DAT/*.inc
rm *.h *.c *.inc *.s *.o *.bak *.bat *.MAC makefile
rm -f indent.err remain.doc maketbl.x
dist:
LHA a -t ../$(LZH)